<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增人员生产数据')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-welder-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊工编号：</label>
                <div class="col-sm-8">
                    <input name="welderCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊工姓名：</label>
                <div class="col-sm-8">
                    <input name="welderName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">所在班组：</label>
                <div class="col-sm-8">
                    <input name="welderTerm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工件件数：</label>
                <div class="col-sm-8">
                    <input name="productNum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">绑定时间：</label>
                <div class="col-sm-8">
                    <input name="bindTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">加工时间：</label>
                <div class="col-sm-8">
                    <input name="workTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开机时间：</label>
                <div class="col-sm-8">
                    <input name="startTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工作效率(%)：</label>
                <div class="col-sm-8">
                    <input name="workRate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊丝消耗(KG)：</label>
                <div class="col-sm-8">
                    <input name="weldingUse" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电能消耗(KWH)：</label>
                <div class="col-sm-8">
                    <input name="electUse" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">气体消耗(L)：</label>
                <div class="col-sm-8">
                    <input name="gasUse" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留1：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="reserver1" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留2：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="reserver2" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留3：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="reserver3" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留4：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="reserver4" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">预留5：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="reserver5" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "analysis/welder"
        $("#form-welder-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-welder-add').serialize());
            }
        }
    </script>
</body>
</html>